package com.cy.pet.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cy.pet.common.pojo.BrowerLog;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @description:
 * @author: LiuXingYu
 * @date: 2021/9/30 15:24
 */
public interface BrowerLogMapper extends BaseMapper<BrowerLog> {
    @Select("select * from brower_log order by created desc limit 0,10")
    List<BrowerLog> getLogs();
}

